Total Complexity | 21 |
Dependencies | 2 |
Dependents | 2 |
Total lines | 157 |
Lines of code | 97 |
Logical lines of code | 45 |
Comment lines | 37 |
Methods | 5 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add_to_cart() | 48 | 10 | 32 | |
remove_cart_item() | 56 | 5 | 16 | |
update_cart_item_quantity() | 60 | 4 | 13 | |
__construct() | 52 | 1 | 31 | |
clear_cart() | 73 | 1 | 5 |